#pragma once //防止头文件重复包含
#include <iostream>
#include <cstring>
using namespace std;
template <class T1, class T2>
class person
{

    T1 age;
    T2 name;

public:
    person(T1 m_age, T2 m_name);
    void show();
};

template <class T1, class T2>
person<T1, T2>::person(T1 m_age, T2 m_name)
{
    age = m_age;
    name = m_name;
}

template <class T1, class T2>
void person<T1, T2>::show()
{
    cout << age;
    cout << name;
}